package cc.openhome;

/**
 * Created by Cai Ye on 2016/3/22.
 */
public class Game1RPG {
    public static void main(String[] args) {
        demoGame1SwordsMan();
        demoGame1Magician();
    }
    static void demoGame1SwordsMan(){
        Game1SwordsMan swordsMan=new Game1SwordsMan();
        swordsMan.setName("Justin");
        swordsMan.setLevel(1);
        swordsMan.setBlood(200);
        System.out.printf("剑士:(%s,%d,%d)%n",swordsMan.getName(),swordsMan.getLevel(),swordsMan.getBlood());
    }
    static void demoGame1Magician(){
        Game1Magician magician=new Game1Magician();
        magician.setName("Monica");
        magician.setLevel(1);
        magician.setBlood(100);
        System.out.printf("魔法师:(%s,%d,%d)%n",magician.getName(),magician.getLevel(),magician.getBlood());

    }
}
